package qlsl.androiddesign.listener;

import com.qlsl.androiddesign.kuaiwa.R;

import qlsl.androiddesign.library.pulltorefresh.PullToRefreshBase;
import qlsl.androiddesign.manager.ActivityManager;
import android.view.View;

/**
 * 公用版权显示刷新分页listener<br/>
 */
public class OnDefaultRefreshListener<V extends View>
		implements
		PullToRefreshBase.OnRefreshListener<V> {

	@SuppressWarnings("deprecation")
	public void onRefresh(PullToRefreshBase<V> refreshView) {
		refreshView.setRefreshingLabel(ActivityManager.getInstance()
				.currentActivity().getResources()
				.getString(R.string.refreshing_label));
		refreshView.onLoadComplete();
	}

}
